package org.kur.modularization.controller;

import javafx.animation.TranslateTransition;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TextArea;
import javafx.scene.layout.VBox;
import javafx.util.Duration;

public class LogController {

    @FXML
    Button closeLogPane;

    @FXML
    TextArea logArea;

    @FXML
    VBox logRootPane;

    @FXML
    void closeLog() {
        TranslateTransition transition = new TranslateTransition(Duration.seconds(0.6), logRootPane);
        transition.setFromY(300);
        transition.setToY(700);
        transition.play();
    }

    @FXML
    void initialize() {
    }

}
